package com.hrma.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class Achievement {
    private Integer id;
    @NotBlank(message = "员工编号不能为空！")
    private String num;
    @NotNull(message = "基础奖金不能为空！")
    private Integer baseBonus;
    @NotNull(message = "自评不能为空！")
    private Integer selfGrade;
    @NotBlank(message = "考核员不能为空！")
    private String superior;
    @NotNull(message = "考核评分不能为空！")
    private Integer superiorGrade;
    private Integer grade;
    private Integer bonus;
    private Date beginTime;
    private Date endTime;
}
